#ifndef ALARMRULE_H
#define ALARMRULE_H

#include "common/BaseObject.h"

class AlarmRule : public BaseObject
{
public:
    AlarmRule();
    virtual  ~AlarmRule();

    QString GetPlatformCode() const {return m_sPlatformCode;}
    void SetPlatformCode(QString sValue) {m_sPlatformCode = sValue;}

    QString GetLevelID() const {return m_sLevelID;}
    void SetLevelID(QString sValue) {m_sLevelID = sValue;}

    unsigned int GetTypeID() const {return m_uiTypeID;}
    void SetTypeID(unsigned int uiValue){m_uiTypeID = uiValue;}

    unsigned int GetSubTypeID() const {return m_uiSubTypeID;}
    void SetSubTypeID(unsigned int uiValue){m_uiSubTypeID = uiValue;}

    QString GetUpperValue() const {return m_sUpperValue;}
    void SetUpperValue(QString sValue) {m_sUpperValue = sValue;}

    unsigned int GetFlag() const {return m_uiFlag;}
    void SetFlag(unsigned int uiValue){m_uiFlag = uiValue;}

    unsigned int GetCheck() const {return m_uiCheck;}
    void SetCheck(unsigned int uiValue){m_uiCheck = uiValue;}

    QString GetDesc() const {return m_sDesc;}
    void SetDesc(QString sValue) {m_sDesc = sValue;}

    QString GetCurIP() const {return m_sCurIP;}
    void SetCurIP(QString sValue) {m_sCurIP = sValue;}
private:

    QString         m_sPlatformCode;
    QString         m_sLevelID;
    unsigned int    m_uiTypeID;
    unsigned int    m_uiSubTypeID;
    QString         m_sUpperValue;
    unsigned int    m_uiFlag;
    unsigned int    m_uiCheck;
    QString         m_sDesc;
    QString         m_sCurIP;

};

#endif // ALARMRULE_H
